x86: #PF error code adjustments
authorJan Beulich <jbeulich@suse.com>
Thu, 12 Nov 2015 16:02:35 +0000 (17:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 12 Nov 2015 16:02:35 +0000 (17:02 +0100)
commit0b52ed063d6731b53eaf976cfa9c51906e50e370
tree4045ad43efdf480abc0530a64d2b7b57730df41c
parent84064d11a40a6d6b55de8a97049042fc6d67dbb3
x86: #PF error code adjustments

Add a definition for the (for now unused) protection key related error
code bit, moving our own custom ones out of the way. In the course of
checking the uses of the latter I realized that while right now they
can only get set on their own, callers would better not depend on that
property and check just for the bit rather than matching the entire
value.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/processor.h